﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001473 RID: 5235
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrialActivityDataChangeScNotify : IMessage<TrialActivityDataChangeScNotify>, IMessage, IEquatable<TrialActivityDataChangeScNotify>, IDeepCloneable<TrialActivityDataChangeScNotify>, IBufferMessage
	{
		// Token: 0x170041FF RID: 16895
		// (get) Token: 0x0600EA4D RID: 59981 RVA: 0x00272B17 File Offset: 0x00270D17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrialActivityDataChangeScNotify> Parser
		{
			get
			{
				return TrialActivityDataChangeScNotify._parser;
			}
		}

		// Token: 0x17004200 RID: 16896
		// (get) Token: 0x0600EA4E RID: 59982 RVA: 0x00272B1E File Offset: 0x00270D1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrialActivityDataChangeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004201 RID: 16897
		// (get) Token: 0x0600EA4F RID: 59983 RVA: 0x00272B30 File Offset: 0x00270D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrialActivityDataChangeScNotify.Descriptor;
			}
		}

		// Token: 0x0600EA50 RID: 59984 RVA: 0x00272B37 File Offset: 0x00270D37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialActivityDataChangeScNotify()
		{
		}

		// Token: 0x0600EA51 RID: 59985 RVA: 0x00272B3F File Offset: 0x00270D3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialActivityDataChangeScNotify(TrialActivityDataChangeScNotify other) : this()
		{
			this.trialActivityInfo_ = ((other.trialActivityInfo_ != null) ? other.trialActivityInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EA52 RID: 59986 RVA: 0x00272B74 File Offset: 0x00270D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialActivityDataChangeScNotify Clone()
		{
			return new TrialActivityDataChangeScNotify(this);
		}

		// Token: 0x17004202 RID: 16898
		// (get) Token: 0x0600EA53 RID: 59987 RVA: 0x00272B7C File Offset: 0x00270D7C
		// (set) Token: 0x0600EA54 RID: 59988 RVA: 0x00272B84 File Offset: 0x00270D84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrialActivityInfo TrialActivityInfo
		{
			get
			{
				return this.trialActivityInfo_;
			}
			set
			{
				this.trialActivityInfo_ = value;
			}
		}

		// Token: 0x0600EA55 RID: 59989 RVA: 0x00272B8D File Offset: 0x00270D8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrialActivityDataChangeScNotify);
		}

		// Token: 0x0600EA56 RID: 59990 RVA: 0x00272B9B File Offset: 0x00270D9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrialActivityDataChangeScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.TrialActivityInfo, other.TrialActivityInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EA57 RID: 59991 RVA: 0x00272BD0 File Offset: 0x00270DD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.trialActivityInfo_ != null)
			{
				num ^= this.TrialActivityInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EA58 RID: 59992 RVA: 0x00272C0C File Offset: 0x00270E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EA59 RID: 59993 RVA: 0x00272C14 File Offset: 0x00270E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EA5A RID: 59994 RVA: 0x00272C1D File Offset: 0x00270E1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.trialActivityInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.TrialActivityInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EA5B RID: 59995 RVA: 0x00272C50 File Offset: 0x00270E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.trialActivityInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TrialActivityInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EA5C RID: 59996 RVA: 0x00272C90 File Offset: 0x00270E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrialActivityDataChangeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.trialActivityInfo_ != null)
			{
				if (this.trialActivityInfo_ == null)
				{
					this.TrialActivityInfo = new TrialActivityInfo();
				}
				this.TrialActivityInfo.MergeFrom(other.TrialActivityInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EA5D RID: 59997 RVA: 0x00272CE4 File Offset: 0x00270EE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EA5E RID: 59998 RVA: 0x00272CF0 File Offset: 0x00270EF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.trialActivityInfo_ == null)
					{
						this.TrialActivityInfo = new TrialActivityInfo();
					}
					input.ReadMessage(this.TrialActivityInfo);
				}
			}
		}

		// Token: 0x04005CD1 RID: 23761
		private static readonly MessageParser<TrialActivityDataChangeScNotify> _parser = new MessageParser<TrialActivityDataChangeScNotify>(() => new TrialActivityDataChangeScNotify());

		// Token: 0x04005CD2 RID: 23762
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005CD3 RID: 23763
		public const int TrialActivityInfoFieldNumber = 5;

		// Token: 0x04005CD4 RID: 23764
		private TrialActivityInfo trialActivityInfo_;
	}
}
